﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using KP_CommonLibrary.KP_DataAccess;
using KP_CommonLibrary.KP_ObjectReferences;
using System.Data;

namespace KEEPER_BRR_13dotNET.DataAccess
{
    public class DAL_KPDmVTri:KP_DALListBase
    {
        public DAL_KPDmVTri()
            : base("tblDmVTri")
        {
        }
        public string GetTenViTri(string maVtri)
        {
            string sql = " Select Ten_Vt From tblDmVTri where Ma_Vt='" + maVtri + "'";
            return Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteScalar(KP_OCnnSql.Cnn_String, CommandType.Text, sql).ToString();

        }
    }
}
